<?php

namespace Common\Lib\Sms;

class Sms {

    private static $instance = null;

    public static function send($mobile, $content) {
        return self::getInstance()->send($mobile, $content);
    }

    /**
     * 
     * @return \Common\Lib\Sms\Base
     */
    protected static function getInstance() {
        if (!self::$instance) {
            self::$instance = new ApiEucp();
        }
        return self::$instance;
    }

}
